package com.mdd.common.service;

import com.mdd.common.validate.engineer.EngineerApplyValidate;
import com.mdd.common.vo.engineer.EngineerApplyDetailVo;
import com.mdd.common.vo.engineer.EngineerConfigVo;
import com.mdd.common.vo.engineer.EngineerIndexVo;

/**
 * 技师申请接口类
 */
public interface EngineerService {

    /**
     * 师傅配置
     *
     * @return
     */
    EngineerConfigVo config();

    /**
     * 申请入驻
     *
     * @param userId        Integer
     * @param applyValidate EngineerApplyValidate
     * @author mjf
     */
    void apply(Integer userId, EngineerApplyValidate applyValidate);


    /**
     * 师傅入驻页信息
     *
     * @param userId Integer
     * @return EngineerIndexVo
     * @author mjf
     */
    EngineerIndexVo index(Integer userId);


    /**
     * 申请记录详情
     *
     * @param userId Integer
     * @return EngineerApplyDetailVo
     * @author mjf
     */
    EngineerApplyDetailVo applyDetail(Integer userId);


    /**
     * 新增师傅信息(师傅审核时候使用)
     *
     * @param userId Integer
     * @author lrc
     */
    void addEngineerData(Integer userId);

}
